package com.zytlifeservice.service.find;

import com.zytlifeservice.domain.Result;
import com.zytlifeservice.repository.find.PayCityMarkerRepository;
import com.zytlifeservice.util.ResultUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 城市业务类
 * Created by Administrator on 2017/6/3.
 */
@Service
public class PayCityMarkerService {
    @Autowired
    private PayCityMarkerRepository payCityMarkerRepository;//城市持久对象

    //查询省
    public Result findEmoceName(String city) {
            return ResultUtil.success(payCityMarkerRepository.findEmoceName(city),"成功");
    }
}
